import request from '@/utils/request';

export async function queryNoticeList(
  keyword = '',
  api_type = '',
  start_time = '',
  end_time = '',
  sort = '',
  page_num = '',
  page_size = ''
) {
  return request(
    `/api/gold/regulatory_notice?keyword=${keyword}&api_type=${api_type}&start_time=${start_time}&end_time=${end_time}&sort=${sort}&page_num=${page_num}&page_size=${page_size}`,
    { keyword, api_type, start_time, end_time, sort, page_num, page_size }
  );
}
